package com.atguigu05.map;

import org.junit.Test;

import java.util.Set;
import java.util.TreeMap;

public class TreeMapTest {
    @Test
    public  void t1(){
        TreeMap map=new TreeMap();

        map.put("aa",78);
        map.put("bb",23);
        map.put("ee",86);
        map.put("ss",75);

        Set entrySet = map.entrySet();
        for (Object o:entrySet
             ) {
            System.out.println(o);
        }

    }
}
